package Dao;

import POJO.TbOrder;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrdersMapper {
    @Select("select * from tborder where userid=#{id2}")
    @Results({@Result(id = true,column = "id",property = "id"),@Result(column = "number",property = "number")})
    List<TbOrder> selectOrder(int id1);
}
